Issue 4

I wrote test cases for whatever I could come up with. For complex graphs like Girvan-Newman or LFR I just tested for the basic invariants

To run the test cases, you first need to install nose and then type nosetests in command line