Implementing a serial solution but can't hook into <random> c++ library, maybe it's not on the machine?
Working serial implementation