Added seed option for the generation of the random sample
Merge pull request #15 from elenagr/master

update