Implemented a method for finding the unique prime factors of an integer.