minimalistic evaluator of python expression using ast module