PickNik interview question

Code a graph class with nodes and edges