modified the logger so that it writes to the log file as it counts queens for each n so that progress doesnt go off the record if there is an interruption in the running of the program