Fixed samplers so that random numbers are generated uniquely (i.e. no repeated numbers will be drawn). Also used std::uniform_int_distribution to generate random numbers