Added more code

I added a variable for the hero name and a condition to make sure that
the user entered a name.