pi_estimator function

Compute nucleotidic diversity (Pi estimator)