Final serial version, added line to sort randomNum after transposing back, print statements to print from row/2 to row/2 + size(oldSize) and added function to check if final array is sorted.