checkpointing test alg - compiles, but not ready for use