void keyPressed() {
  if (key == 'q') { exit(); }
  //moves man forward when 'm' is pressed
  if (key == 'm') {
    manX = manX + 5; }
    
void mousePressed() {
  //resets man to original position when mouse is clicked
  if (mouseX > 100 && mouseX < 200)  reset();
}