Vegan Bhat Masala (Baingon-aloo-tomato)

eggplants, potato & tomato prepared with onion, garlic, salt, pepper and spices, over rice