created page and function for prime factorization