Make RangeIntGenerator Thread Safe
(otherwise it would sometimes give some numbers multipletimes)
Merge pull request #54 from Niklas974/rangeIntgen_thread_safe

Make RangeIntGenerator Thread Safe