Garvit Choudhary's submission of Matrix | CodeChef