4-bit serial in and out shift register