In the Andes, writing with characters on a surface was not known, as understood in the western world, but khipus seem to have been an effective mnemonic tool in the administrative tasks of the Inca civilization.
basically a khipu was an ancient way of using the concept of mathematical matrix.