Tanmay Datta's submission of GRID | CodeChef