shift register implemented and tested