Tree insertion working