createM.m exchange.m improverref.m mod2.m output.m rank2.m rank3.m rref2.m solution.m solution2.m wadd.m game_complete.mat