Fixes Issues #7 Make the parent wait until child has finished before printing results of mean()