Expression Evaluator in Python using Binary Tree