Implemented erathostenes sieve to PRINT problem