Start of an implementation of Graph stuff. Currently broke as fuck don't believe.