Generates an 32bit integers array and gets the maximum value. It is useful for showing the increase in performance of multithreadding.