A lot of code cleanup for the tree reducer
A lot of code cleanup for the tree reducer

nvandervoort/PyRTL,deekshadangwal/PyRTL,nvandervoort/PyRTL,UCSBarchlab/PyRTL,deekshadangwal/PyRTL,UCSBarchlab/PyRTL