further along with prime factors, is-prime not working correctly