window_list function

Generate sliding windows of specified length given the maximum number of samples