Frog(Cave) Solver

Solves Frog(cave)