generate a Fibonacci sequence while not exceeding a given limit