Removed the bulk generation of permutations, since it was almost always worse than incremental calculations.
Updated the mega test to use a larger input set, to evaluate time complexity.
Updated the README to reflect the change to the on-demand algorithm. Added performance details.