Simplified code
Separated save to file and print function and now uses DebugPrinting class
Merge pull request #37 from EmilWestergren/master

Made changes to debug and timer classes