fixed nasty bug in BSTTraversalSort (Java always pass by value, even references to objects)