Can anyone explain why I keep getting nan instead of the next number in the fibonacci sequence? I\'ve found others that work, but I need this to output as an array.