Cooking vegetables in a pan