input text box assigns user input to variable, dynamically prints text on screen