if q is pressed, quit the game