Create simple-peak-detector.cpp