Scala: Week 6 added ability to cache the anagrams