Added new loop example

This one shows both command substitution and loops.