Created randomItem method.