Introduction to MPI, Monte Carlo integration and some parallel