Use this to time a function. Complete with a clock! Note: 564033 is the largest prime number you can generate before the list refuses to hold more :(
The prime sieve function (both the Eratosthenes and segmented sieves) are mine and were created here: https://scratch.mit.edu/projects/1027230927 Some of the helper functions came from here: https://scratch.mit.edu/projects/1027243359