Create anomaly.cpp

adding anomaly.cpp