Create slidingWindow.cpp