Barclays Interview Question

create a function that returns the nth fibonacci number