A more complex version of the exercise: pegs of varying heights and diameters must be placed in corresponding holes.