Solve fibonacci problem