Own implementation of MPI_Bcast