Beginning: Shuli liked to practice computer programming. Middle 1: Shuli documented the if, then, else loop correctly. Middle 2: Shuli documented the if, then, never loop correctly. Ending: It worked perfectly!