What was one of the primary results of Chinese civilizations settling in river valleys?

The people learned to control flooding.
The culture created a writing system.
The fertile land supported a food surplus.
The rulers adopted a system of divine leadership.