Create our own graph class