a rock with layers of rocks