Graph data structure for my Data Structures and Algorithms in Python class.