saegusa's submission of Matrix | CodeChef