working on recersive path finding function move()