The ornamental design for an apparatus for cooking, as shown and described.
FIG. 1 is a perspective view of an apparatus for cooking, showing the new design;
FIG. 2 is a front elevational view thereof;
FIG. 3 is a rear elevational view thereof;
FIG. 4 is a left side elevational view thereof;
FIG. 5 is a right side elevational view thereof;
FIG. 6 is a top view thereof; and,
FIG. 7 is a bottom view thereof.
The broken lines of FIGS. 1, 2, 4, 5, 6 and 7 are for the purpose of illustrating environmental structure for an apparatus for cooking and form no part of the claimed design.