Create Minimum Window Substring (pyemma)