first version of ComputePi done