Unravelling the knotty khipu code