Problems: 9, 32, 34, and 35

Solution on problem 35 will not function without a set of prime numbers
under one million. Though it may be faster to just check each number for
primeness than to reference a very large list.