Illustrated recursive and iterative procedures.