Vivek Gupta's submission of Matrix | CodeChef