a frying pan is used for cooking things