Ashish Khatkar's submission of GRID | CodeChef