OrangeTree class and associated methods successfully implemented