Added GraphInterface, parent interface to WeightedGraphInterface