public void changeMatrix(Position p, uint value) { puzzle.getMatrix() [(int)p.GetRow(), (int)p.GetColumn()] = value; }