Add new macro for new message.
Add a message for telling a slave to continue working or to tell the master that it is still working.
Add new macro for error message.
Add function for slave to get instructions.
Reduce communication for data transmission.
Use the fact that the MPI_Recv() requires to know an upper bound for the amount of data to be passed instead of the exact amount to reduce the communication by one pass.