Created variable to put the user input into the function. Printed with console.log