Updated timecp files.
Fixed incorrect tabbing of lines, using tab width of 8.
Refactored a lot of code.
Added Makefile.osx file.
Removed unnecessary debug line.