added score, life count, and game over function