Improved performance for problem 10 by using sieve
Refactored tests file