Steps 2 through to 11 are essentially the same step repeated, just cleaning a different tooth every time. Iteration can be used to greatly simplify the algorithm. Look at this alternative: put ...