i shameless copied the answer to this quetions from http://heartfire.cc/wp/minimum-window-substring/ because i have no freaking clue how to solve it