Update printTreePath.cpp