flowchart to show the formation of a sedimentary rocks