The appropriate layering process for a compost pile is:
a layer of grass clippings, a layer of fruit scraps, some soil, and some water.
This combination includes a good balance of green materials (grass clippings, which are high in nitrogen) and brown materials (fruit scraps can be considered moisture-rich green material), in addition to soil and water to provide microorganisms essential for decomposition. Avoid items like cheese and paper napkins in a compost pile, as they can create odors or attract pests.