Completes orangeTree class exercise