PR for  #1916 factor graph for multilabel classification

Hi, 

I have finished this entry task: multi-label Classification Using Factor Graph Model #1916.

Both synthetic and real-world dataset are tested. I used scene dataset in this experiment.

Please consider my pull request.