Explain the “war of ideas” that occurred during the first millennium bce in china. how did legalism, confucianism, and daoism influence political developments during the warring states period?