Added gameOver variable, and if statements to check whether the knight, or the dragon is out of health.