Using OMP to measure time in the paralellised code

This can be compared with the serial code in order to know the speed up.