program now quits properly when user didn't want to play