use a flowchart to show why sediments tend to form layers