first pass at prime factors.
simplified.