ruby practice.
generating random string.