add GreedyMRS_record.m