6

Functionally complete, but my traverse() functions cheat by printing
directly instead of "passing the print function as a parameter".