modified version of `map-filter vs reduce` that switches the order of operations
Original was not fair comparison as it mapped all iterations not just the ones that passed the filter
* added for loop
Comparing performance of: map-filter vs reduce vs for