started adding the threaded version of sieve, now need to create threaded
function