naive I/O with MPI for scanf() and printf(); trapezoidal rule example with MPI