Closes #3 Adding ability to calculate cardinalities for the same word ap...

...pearing multiple times in the same document.
probably more efficient to iterate over the entry set and avoid the lookup, but that make the example more complicated and harder to read.. so probably not worth it