Created function that generated gameover message.