Created serveral small helper methods, progress on cleverFactor...

Restructured to capitalize on repitition, the sequenceOfPowers will be computed only once, and each term x_j-y_j will, if appropriate, gather the corresponding summand. Much more progress is needed in the construction of the sequenceOfPowers.