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

...pearing multiple times in the same document.