pedestians implemented in the area around the player

navigation for the area around the player complete, code fully commented. minor bugs remain