ordered constants and added constants for arrivedLeft and arrivedRight
added arrivedLeft and arrivedRight
added a check to make sure we are not running into the goal (using arrivedLeft and arrivedRight)