1) Implemented generic graph using HashTable, may move to a better DS.