finishing up prime factors