Update anagrams_for.js

Hypercube idea for permutations?