Polymorphic brute force solver for a variety of different puzzles.