234 Tree implementation