Stubbed out an interface and implementation for Graphs