number to words count
Solved 14th with memoization