ex18-40

Finally getting somewhere: functions, array and hash equivalents, up to
intro to classes