Prime number calculation with MPI