calculate number Pi using MPI method