Simpler Code for 7 Segment LED and Shift Register