Finishing getVertices functionality
Adding edges support in Graph constructor.