multi threaded/multi process prime decomposition program