Im trying to create a binary search tree out of some numbers from an input file, the tree is being constructed however, the sizes of each node ( meaning the number of children it has) are mixed up, while some of the sizes are correct, a few are wrong, what am i doing incorrectly?