int Source; // a variable to identify the rank from which an answer came from
int tag; //a variable to prevent mixing of values.
int dest, i; // a variable that shows where a message will be passed to
int count=10; //we set the count to ten so as to hold the next ten otems
MPI_Status status; // a pointer that will hold information about the tag and source.
tag=MPI_ANY_TAG; // we use any tag
source=MPI_ANY_SOURCE; //we use any source since its the process that finishes first.

  //we send ten tasks to the next available rank both to the round robin method and the fixed chunks method
MPI_Send(&fixedChucks(coeffArr, x), count, MPI_DOUBLE, rank , tag, MPI_COMM_WORLD, &status )
MPI_Send(&roundRobin(coeffArr, x), count, MPI_DOUBLE, rank , tag, MPI_COMM_WORLD, &status )
    //we define functions that will be  recieving the results from the round robin and fixed chunks methods.
MPI_Recv(&answerFixedChunks, 1, MPI_DOUBLE, MPI_ANY SOURCE, MPI_ANY_TAG, MPI_COMM_WORLD, &status);
MPI_Recv(&answerRoundRobin,  1, MPI_DOUBLE, MPI_ANY_SOURCE, MPI_ANY_TAG, MPI_COMM_WORLD, &status);
   //We add the sum of the computed sums to the total of all other items that have been recieved
finalAnswerRR=answerRoundRobin+finalAnswerRR
finalAnswerFC=answerFixedChunks+finalAnswerFC
