added comments and randomString

Added comments to describe the program
Added the randomString() method which will generate a random string base
on a preset group of characters.