Solves P7 using sieve, cleans up syntax