python impl of univariate anomaly detection

with simple test features