One more parallel array was added in PathFinder class.

The extra parallel array will hold y coordinates and the previous coords
array will hold x coordinates. Two functions was removed for shifting
and unshifting coordinates.