added save_alg_list
saving passes all tests