Fixed #7 Make the parent wait until child has finished before printing results of mean() && Bug fixed