Trying to recreate a guessing game using Shiny - how to loop through user input in shiny