Solution for problem2, Fibonacci number