added RandString()

I tested it by a non-automatic method because I couldn't think of a
non-trivial "failure" condition.