Added gameover functionality