Keep Player On Sidewalk

Wrote code that will keep the player on the sidewalk so they cannot
avoid the obstacles by walking on the grass