Creation of the anomaly detector script, anom_detector.py.