solved Sieve of Eratosthenes algorithm with some help (reserved for incorrect spelling of his name)