Implemented forEach-in-range.