AC matrix

q1, q2 q1, q3 q2, q3
a, c 0 1 1
a, d 0 0 0
a, e 0 0 0
a, h 0 0 0
c, d 0 1 0
c, e 0 0 0
c, h 0 0 0
d, e 0 0 0
d, h 0 0 0
e, h 0 0 0