Getting user input and assigning it to a variable.