Add Matrix method all_positions

This method returns in an array all possible coordinates in the matrix
as [x, y].
Add spec for Matrix method all_positions