changed name function so that if user restarts game does not prompt for name again.