Naman Jain's submission of Matrix | CodeChef