potato gratin with green chilies