created workable graph class

author: nhhughes