Parses all simple arithmetic expressions and complex expressions