implement Prime Factors