added examples for looping, conditional branching,
and using structs.