Binary tree establishment, traversal, destruction, height calculation