Added beginning of ComputeStats class