Added code to multiplex a 7-segment display