Show a complete timing diagram for a 3-bit up/down counter that goes through the following sequence: 0, 1, 2, 3, 2, 1, 2, 3, 4, 5, 6, 5, 4, 3, 2, 1, 0. Indicate when the counter is in the UP mode and when it is in the DOWN mode. Assume positive edge-triggering.