Added savedX and savedY 

Instead of making each node store the parent X,Y (the one that is made 0,0)