Implemented Graph
TODO: read from file and looking for labels