script to illustrate for loop in recursive anagram routine