Working CPU bounded program (pi computation)