made method for prime factorization, played with splat