Implemented MPI_Comm_free, MPI_Comm_dup, and MPI_Comm_create. Fixed the
freeing of groups.