added separate classes for 3 different nodes of the bin tree to effectively do a tree centric design of the bintrees methods