program now accepts user input from the terminal

program now accepts user input from the terminal