Indian Mixed Vegetable Pickle

3 cups chopped vegetables: carrots, green beans, cabbage or cauliflower

5 green chillies (optional)

3 cloves garlic, peeled and chopped

2 cups vinegar