added a graph drawing class