Add code in fib.rb to pass tests in fib_spec.rb