Simple example of how to calculate prime factors for a list of integers.