add main compilation to primes
implement not optimise is_prime function for testing
add main function to use primes_generator class