Upload Topic Modeling Code

This is the almost the same as the community detection CPU code, but we
are just uploading this since many of you are interested in the topic
modeling setting.