12 Frog Puzzle Solution