a flow chart of the process that forms a sedimentary rock