An expression parser written in Python 3