-followdirection = 0; //left follow or right follow 
-lowerleftroomdistance = 10; //distance to activate Rick's Code 
+followdirection = 0; //left follow or right follow
+lowerleftroomdistance = 10; //distance to activate Rick's Code
 
 while(followdirection < 7)
 {
   if (frontultrasonic.getdistance() > 2 && rightultrasonic.getdistance() < 2)
   {
-    moveslightleft();
+    moveSlightLeft();
     delay(500);         //move left diagnal
-    moveslightright().wait(rightultrasonic.getdistance() < 2);
+    moveSlightRight().wait(rightultrasonic.getdistance() < 2);
     delay(500);    //move diagnol towards the wall until your close to the wall
   }
 

  turn(-25);

  moveForward(diagonalMove);
  
  turn(0);
  turn(-90);
  delay(1000);  //see if there's fire in the upper corner


}

while(followdirection >= 9)
{
  if (frontultrasonic.getdistance() > closeToWall && lefttultrasonic.getdistance() < closeToWall)
  {
    moveSlightRight();
    delay(500);    //move left diagnal
    moveSlightLeft().wait(leftultrasonic.getdistance() < closeToWall);
    delay(500);
  }

  else if (leftultrasonic.getdistance() > 2 && frontultrasonic.getdistance() > 2)
  {
    turn(90);
    delay(500);
    followdirection = followdirection + 1;
  }
  else if (leftultrasonic.getdistance() < 2 && frontultrasonic.getdistance() < 2)
  {
    turn(-90);
    delay(500);
    followdirection = followdirection + 1;
  }
}
