code cleaned following pep8
removed old code, now test works!!!!

corrected bug for py3

maybe this time will work

Corrected the difference function, now it return the difference between the edges of 2 graph.
Made a new test for the parser.
Fixed weight in json generation.