flowchart to show how clastic sedimentary rock forms