input: Write a python function to generate Fibonacci sequence up to a given limit.
  assert Fibonacci(10) == [0, 1, 1, 2, 3, 5, 8, 13, 21, 34]
  assert Fibonacci(5) == [0, 1, 1, 2, 3]
  assert Fibonacci(1) == [0]
output: def Fibonacci(limit):
      fib_sequence = [0, 1]
      while len(fib_sequence) < limit:
          fib_sequence.append(fib_sequence[-1] + fib_sequence[-2])
      return fib_sequence[:limit]