detect_outliers function

Detect outliers in a numeric vector.