Started memoization work
Memoization seems to be working
Memoization implemented