Complex sentence: They are further grouped into two gramas-shadja-grama and madhyama-grama.
Split into simpler sentences: They are further grouped into two gramas. There are two such gramas-shadja-grama and madhyama-grama.