Added exception handling to catch exceptions thrown from bad input, improved code style, added .csv files to the .gitignore