Add slidingwindow.py
fix argparser argument for grid2lines