Graph interface

Added interface for Graph data structure