parser sort of works! modification to operation class to allow n>=2 terms