This was an impromptu code challenge to parse a log file