Getting a random element from a list of elements in ScalaCreating a function to return a random element from a list using Scala.