Added code for randomly generating a password. Added a couple unit
tests.