greenido's wordCount fix in every step, moved new Random out of document constructor
Merge pull request #10 from marycampione/master

Applied greenido's wordCount fix. Moved new Random() out of document constructor.