Path finding for player-controlled character

Doesnt work.