2014-12-20 Made the programs much more readable, and also created a header file for easier file reading