Prashant Mahesh's submission of Matrix | CodeChef