Add element into tree