Moved code into a method called continueGame

The code that determines whether to go to the next level, or go to the
game over screen, or load the next question, is moved into the method
continueGame. That way we can call continueGame after an animation or
after a timer.