Use `Vec::from_elem` instead of `Vec::from_fn`.
Fix sieve logic.
Merge pull request #149 from utkarshkukreti/refactor-sieve-eratosthenes

Refactor sieve eratosthenes