Added example 4 usin when/pipe. Added readme.md and modified comments to accurately represent each example's processing.