added memoize, throttle, and timeout

tests for memoize