Vineet Kumar's submission of GRID | CodeChef