What were the steps that humans passed through to form the large complex societies we see in the world today?