Replaced: fibonacci function factory with top-level memoized fibonacci
function