# Get vector from abelian group

I want to represent the Cayley graph of an abelian group (let's say $A=Z_5^2$) is a way that the element $g=a^i b^j$ is in the position $[i,j]$. I need a method `.pos()`

such that:

```
A= groups.presentation.FGAbelian([n,n]);
g=A[2]
---> g = a*b*a^-1
g.pos()
---> [0,1]
```

How could I do that?