Completed Exercise 2.1, a recursive function for the nth Fibonacci number