replaces tuples with vertex and edge classes
Merge pull request #25 from vasia/replaceTuples

replaces tuples with vertex and edge classes