what was shi huangdi resident of?