I\'ve been trying to use memoization for the first time to get this code to move much faster when f = 1000000. I\'ve searched everywhere for a way to implement it that makes sen