moved definition of Neighbot upwards, renamed Neighbor.EdgeValue to Neighbor.EdgeWeight