 const int led_pin = 13;
 const int touch_pin = 4;
 const int buzz_pin = 8;
-const char blank_writer[16] = "               ";
+const char blank_writer[17] = "                ";
+int rxn_time = 30;//time to react, decreases as levels go up
 
 int button_state = 0;
 int touch_state = 0;

    lcd.print(blank_writer);
    delay(200);
    map_display();
    delay(500);
}

//map display function


boolean correct_press()
{
//   delay(80);
   return (user0==val0 && user1==val1);
}

void loop() 
{
  if(start_delay)
  {
    delay(400);
    tone(buzz_pin, 1900, 200); 
    delay(400);
    tone(buzz_pin, 1900, 200);
    delay(400);
    tone(buzz_pin, 1900, 200);
    delay(400);
    tone(buzz_pin, 3000, 200);
  }
  ++loop_count;
  button_state = digitalRead(button_pin);
  touch_state = digitalRead(touch_pin);
  if(button_state == HIGH)
  {
    user1 = 1;
  }
  else
    user1 = 0;
  if(touch_state == HIGH)
  {
    user0 = 1;
  }
  else
    user0 = 0;
//  lcd.setCursor(0,0);
//  lcd.print("user0:");
//  lcd.print(user0);
//  lcd.setCursor(0,1);
//  lcd.print("user1:");
//  lcd.print(user1);
//  delay(100);
  if(start_delay)
  {
    delay(300);
    start_delay = false;
  }
  if(correct_press())
  {
    //++ptr0;
    //++ptr1; 
    good = true;
  }
  if(ptr0<ptr_max)
  { 
