Trying to solve Fibonacci numbers problem