BST for symbol table

Signed-off-by: Luo Chunbo <luochunbo@gmail.com>