Added some graph code

Continued graph class and extended Edge type