implemented steering behaviour for the player