Shift Register

The output is a vectour which has the size of the register. The first coordinate of the vectour is the most recent input.