Test of memoization ---- It's working