printPrimes is comprised of two sections: one to print 200 primes on page and the other to check if two hundred primes have been printed on one page. To make this simpler split the section into two methods