Recovering Communities in the General Stochastic Block Model Without Knowing the Parameters