Infix mathematical expressions to binary tree