solution for cavity map puzzle