included ability to take user input from command line and read data from a csv file