Shreyas Jain's submission of Matrix | CodeChef