Eratosthenes v1.2 (smarter finish)by anisotr0py