added structure of algorithm
added test statistic formulas