Tryed make a seq-function which works like scan.