Cleaned RandomString and made it easier to use