Update SieveOfEratosthenes.py

Updated the while condition