Extending the functionality of the base algorithm.
Check permutations against a preloaded set.