To generate fibonacci series