Basic operation about binary trees