Refactoring
Finds the nth fibonacci number