Added progress-dumping feature to hill_climb()

If the dump_progress parameter is True, then a snapshot of the current
best known sequence is dumped every ten moves. The parameter's value is
True by default.
Added assertion check for unpickling of D