Update prime_on_line.cpp