Added a method that, given a list of strings, returns a random one.