Made some minor changes to the htree struct to make tree traversal easier