Added class Tree, semi implemented