Prime Summation Calculates the sum of all prime numbers up to N. Three versions - CPU single threaded, CPU multithreaded, and CUDA.