Commit main program
Cleaned up messy code

Removed sloppy elapsed time keeping function