Split out Prime module
Implement sieve of Eratosthenes (poorly)

Profiling reveals that >99% of time and memory is spent in merge.