Anagram Solving in Python – Part 3 : Memoization