Modify Graph interface to abstract class
Implement UndirectedGraph