Fibonacci sequence is a sequence of numbers such that each element is a sum of the previous two, and the first two elements are equal to 0 and 1. For example, the first 10 numbers in the sequence will look as follows:
0, 1, 1, 2, 3, 5, 8, 13, 21, 34
Define a generator that produces the Fibonacci sequence of the given length n.
You don't have to handle the input, just implement the generator function called fibonacci.