anand kumar's submission of Sherlock and the Grid | CodeChef