Add solution for problem 7
Shorten a list of initial primes