Find Nth Fibonacci Number Leetcode Javascript