Chirag Gupta's submission of Matrix | CodeChef