Update Primes.cpp

fix warning add stream output operator TODO: time test.