equation parser and unary parser done

Next: put unary parser in diagram_manager’s evaluate function.