Generate K random samples of N draws from a set of distributions in C++ | Hacker News Reader