how is sediment turned into sedimentary rock flowchart