use thread local random
Merge pull request #10 from katzseth22202/use_threadlocal_random

use thread local random