Update anagrams_for.js

Converting input string to char array.  Work in progress.