Figures out the highest prime factor of a given number.