added a front sensor check, when placed in the maze the delays seem a bit long as the robot goes too far away from wall, will have to adjust