parsing all done.
need to do GCD
need to factor