array: [4, 13, 45, 94, 84, 14]
sorterad: [4, 13, 14, 45, 84, 94]
median: 29.5