A program to find permutations of a string.
function permute takes parameters s and filter.
It will find all permutations of s that contain the filter string
note : with-wordstore branch
this branch contains a different implementation. Tried to cache intermediate results.