Added function to close the game
Added function again