Added type 2 of for replacement where for statement consists of Initial
Generator and a filter
Added type 3: Replacement of For loop where mutiple generators are there
Combined all i.e. multiple initial generator with filter