added recursive method for k-core decomposition, starting community detection