Implemented Game Over Function