Simple multicore factorial