Updated ranges::for_each to take forwarding reference Rng&& instead of Rng&