how was the Mayan society organized