Exact Recovery in the Stochastic Block Model