Started working on saving the results to a log file