Find the group G generated under matrix multiplication by the matrices
A=\begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}, B=\begin{pmatrix} 0 & i \\ i & 0 \end{pmatrix}.
Determine its proper subgroups, and verify for each of them that its cosets exhaust G.