Exercise: iterators - limit Fibonacci


Change the Iterator version of the Fibonacci series so optionally you will be able to provide a parameter called "limit" to the constructor. If the limit is provided, the iterator should stop when the value passes the limit.