Constant add/multiply added. Reorganized code a bit. test_term has some test code for exptree and operations in it