Shilp Gupta's submission of Count the squares | CodeChef