Switched random number gen to Go primitive. Modified docs accordingly.