Added code to exit game when out of lives.