somewhat parallelized pi digit generation