Write a program to generate the Fibonacci series up to a given number of terms.
Implement def fibonacci(n):, where n is a non-negative integer. Return a list containing the first n Fibonacci numbers, beginning with 0 and 1. For n = 0, return an empty list.
def fibonacci(n):