multi-thread prime counter using fork-join