Shift Register / Encoder

You were right the first time... google 74hc595 for starters and take a look here: http://www.arduino.cc/en/Tutorial/ShiftOut