starting cavity map algorithm
Solved via checking all interior matrix