changes to graph interfaces

* combined Graph and MetricGraph interfaces
* changed return type of getNeighbours method
* removed unnecessary methods
* added javadoc comments