1. Find the 4-bit binary-reflected Gray code values for the numbers 0-15.
2. Design a Gray-coded counter in which only one bit changes on each cycle.
3. Adapt the priority encoder logic of to produce three 1-hot outputs corresponding to the first three 1s in an input string.