Added a more functional/rusty way of doing the eratosthene sieve. Also optimized the naive way