Moved CayleyGraph checkpointing and solution writing to the Logger.
Removed BufferedWriter where unneeded.