C++ Code of DBN for Collaborative Filtering