Use Python to create and evaluate parse trees for simple algebraic expressions.