Finished pathfinding for the player ship with tap control