Hacker Rank Cavity Map

Solution to Cavity Map
https://www.hackerrank.com/contests/csindia-practice/challenges/cavity-map