﻿Implement a function that finds all prime numbers up to N using the Sieve of Eratosthenes.
