A study of social dynamics of the pre vedic and the vedic period of Indian History in the light of the samkhya system