working on validate-grid-solution usecase

Please see my latest code change and review.