PrimeFactor class created