Dhruv Gheewala's submission of Good Grid | CodeChef