Adds comments to explain random string generation