evaluation of postfix expressions, binary tree implementation