case study generating random characters cont