Init: I modularized the prime test
Made `primes` list one of the module functions