calculate_pi Compute PI in parallel. data_generator can generate the appropriate test data based on the current processor. test accept input from stdin, or the file of the path in the first argument.