Methods which generate random characters

lowercase, uppercase and digits
added comments