TreeTraversal now uses 1.1's Stack and Queue interfaces

Simplifying code.