Solutions for the MPI Practicals for Summer School 2014