Added pause functionality and updated the NewGame function to reset everything.