def getKeysM(prefix=''):
 keysM = []
 for row in xrange(4):
  for column in xrange(4):
   key = getKeyM(row, column, prefix)
   keysM.append(key)
 return keysM

def getKeysM ( prefix = '' ) : keysM = [ ] for row in xrange ( 4 ) : for column in xrange ( 4 ) : key = getKeyM ( row , column , prefix ) keysM . append ( key ) return keysM
get the matrix keys .