finish exploring caves problem