 
 boolean correct_press();//checks to see if the user pressed the correct buttons
 void map_display();//const unsigned int& map0, const unsigned int& map1, unsigned int& p0, unsigned int& p1);
-
+void clear_screen();
+
+void clear_screen()
+{
+    lcd.setCursor(0,0);
+    lcd.print(blank_writer);
+    lcd.setCursor(0,1);
+    lcd.print(blank_writer);
+}
+
+void print_intro()
+{
+    lcd.setCursor(0,0);
+    lcd.print("BINARY HERO");
+    lcd.setCursor(0,1);
+    lcd.print("Hit the X's...!!");
+    delay(2000);
+    clear_screen();
+    lcd.setCursor(0,0);
+    lcd.print("by Clemens Lee");
+    lcd.setCursor(0,1);
+    lcd.print(" & Brandon Dang");
+    delay(2000);
+    clear_screen();
+}
 
 void setup() 
 {    

    map_display();
  }
  
  if(ptr0>=ptr_max)
  {
    lcd.setCursor(0,0);
    lcd.print(blank_writer);
    lcd.print(blank_writer);
    lcd.setCursor(0,0);
    lcd.print("DONE! YOU WON!!");
    lcd.setCursor(0,1);
    lcd.print(blank_writer);
    while(true){}
  }
  if(loop_count>=rxn_time[level] && !good)//lost
  {
    lcd.setCursor(0,0);
    lcd.print(blank_writer);
    lcd.setCursor(0,1);
    lcd.print(blank_writer);
    lcd.setCursor(0,0);
    lcd.print("GAME OVER");
    //lcd.print(ptr0); //used to figure out which index it failed at
    lcd.setCursor(0,1);
    lcd.print("TRY AGAIN");
    while(true){}
  }
  else if(loop_count>=rxn_time[level] && good)//continue
  {

    pinMode(led_pin, OUTPUT);
    lcd.begin(16,2);
    lcd.setRGB(100,100,100);
    //print_intro();
    lcd.setCursor(0,0);
    lcd.print("BEGIN GAME 0");
    delay(2000);
    lcd.setCursor(0,0);
    lcd.print("start!          ");
    delay(100);
//    lcd.setCursor(0,0);
//    lcd.print("count:      ");
    clear_screen();
    delay(200);
    map_display();
    delay(30);
