create fibonacci function that gives nth term of fib sequence