Modified some of the examples in control flow section.