create tree object capable of holding multiple nodes