playing with a graph as a data structure and the algorithms.