pub fn median_integer<T>(data: Vec<T>) -> Option<T>where T: Ord + Num + NumCast,
Returns the median value of the given data set, or None if data is empty.