Complete a third password generator which works for a corpus of words, producing a password of at least the minimum length by appending as many words as needed for a suitable size.
Use a correct algorithm to determine the length of word to use
Added some helpful comments to v3