Consider a representation of a "world" as an n by n matrix.