solving bug in binaryTree.C where the sorted list was not in the right dimension