Rooster Curry

1 rooster chicken, cut into pieces

2 onions, sliced

2 tomatoes, chopped

3 tbs ginger and garlic