Dinesh Goyal's submission of Matrix Permutations | CodeChef