changed up the foreach functions
updated the pass_through example to use the new foreach functions
updated the winding_direction script to use the new foreach functions
updated the join_adjacent_geographic_shapes script, works in very basic examples