Implemented the game over logic. Shows "Game Over" text, waits 2 seconds, and transitions back to the title screen.