Separated generator of primes into separate file (primes.py)
Used "import math" instead of "from math import ..." for explitness