Cleaned up creation of time string
Added basic logger
More pattern usage work and other bugfixes
Patterns for outfile and answer file