Fibonacci generator with max number value param