Solved the fibonacci problem