to find prime factors of a number.