Code to control 7 Segment LED