Add verbose messages option
Specify input file and columns as switches
Use an argument parser
Clean up code formatting