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(["convert", "this", "list"])=="ConvertThisList"
  assert convertToCamelCase(["single"])=="Single"
  assert convertToCamelCase([])==""
  assert convertToCamelCase(["two", "words"])=="TwoWords"
output: def convertToCamelCase(strings):
      if not strings:
          return ""
      result = strings[0].capitalize()
      for s in strings[1:]:
          result += s.capitalize()
      return result