Add new common utils, generate random int arrays and check if array is sorted