a type of sedimentary rock that forms when sediment are buried, compacted, and cemented together by calcite or quartz