A simple C implementation for calculation of prime numbers for benchmarking