Puzzle perfect solution .......................\add.m .......................\createM.m .......................\exchange.m .......................\game_complete.mat .......................\improverref.m .......................\mod2.m .......................\output.m .......................\rank2.m .......................\rank3.m .......................\rref2.m .......................\solution.m .......................\solution2.m