Implementations of Algorithms for Composite Social Network Modeling in C++