A tutorial on modeling and analysis of dynamic social networks. Part I