use unboxed array for primes instead of a list
unboxed array primes -> faster runtimes

makaveli here kickin these rhymes