Working version of Sieve of Eratosthenes with animation and delayed execution