input: Write a python function to generate the first N Fibonacci numbers.
  assert generate_fibonacci(10) == [1, 1, 2, 3, 5, 8, 13, 21, 34, 55]
  assert generate_fibonacci(5) == [1, 1, 2, 3, 5]
  assert generate_fibonacci(1) == [1]
output: def generate_fibonacci(n):
      if n == 1:
          return [1]
      fib_sequence = [1, 1]
      while len(fib_sequence) < n:
          fib_sequence.append(fib_sequence[-1] + fib_sequence[-2])
      return fib_sequence