Added SPI code for shift register (7-segment display driver)