Update SieveOfEratosthenes.java

Fixed an error in code