what type of rock s created from layers of sediment​