end program! add new features: congratulations and game over events