factor.py: Basic manipulation of 'factors'

- sum/product factors --- not max/sum