added a new state transition diagram for order-4