print rank as a list of list