I have been using optimized sieve method to get prime numbers. I don\'t know what is going wrong with my code. after completing the sieve method my programme terminates