Cleaned the random string generator