Implemented a pthreads + mpi with no files