In this chapter, we introduce three universal programming tools: iteration (the do-structure), conditional execution (the if-structure), and procedures (user-defined functions). Only the first one is new to us. We have encountered simple instances of the if structure in the context of characteristic functions, and we have used extensively the arrow operator -> to construct user-defined functions consisting of a single statement.