added path finding to build paths

And added movingDistance and isMoving to the units
movingDistance is to draw the moveArea and to decide when to start
animated the movement
isMoving is to prevent the user from selecting a moving unit