Problem 15
Moved some shared code into MathHelper.
FactorizeFast
IsPrime