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