In this part of the exercise, I just need to have the state transition diagram. So according to this, should this be now:
(2, {a}, {o}, 2);
(2, {a}, {}, 2);
(2, {}, {o}, 2); --- here the transition (2, {}, {}, 2); is not added because in the first to clausel there is at least one input/output to be true.
(2, {a}, {o}, 3);
(2, {a}, {}, 3);
(2, {}, {o}, 3);
(2, {}, {}, 3);