fixing bugs in the position graph and testin
testing of the positionGraph class and the Pathing Class