array: [38, 52, 72, 30, 14, 35, 12]
sorterad: [12, 14, 30, 35, 38, 52, 72]
median: 35