input: Write a function to convert a list of strings to camelCase and return a new list with the converted strings. If the given list is empty then return an empty string.
  assert convertToCamelCase(["this", "is", "an", "example"]) == "ThisIsAnExample"
  assert convertToCamelCase(["this", "is", "a", "test"]) == "ThisIsATest"
  assert convertToCamelCase([]) == ""
output: def convertToCamelCase(strings):
      if not strings:
          return ""
      result = strings[0].capitalize()
      for s in strings[1:]:
          result += s.capitalize()
      return result