Change to traversal.cpp

Corrected the initialization for Traversal.cpp.