Some changes according to the comments of the push request:  used the not_implemented for decorator instead of rising an exception, used len(G) instead of len(G.nodes()), changed the return type to a list, used min instead of sort and some other minor changes
added tests for girvan-newman