Walks through a list of integers and calculates the prime factors.