Added loops example and expanded branching example