input: Write a function to convert a list of strings to camelCase and return a new list with the converted strings.
  assert convertToCamelCase(["this", "is", "an", "example"])== "ThisIsAnExample"
  assert convertToCamelCase(["hello", "world"])== "HelloWorld"
  assert convertToCamelCase(["camel", "case", "example"])== "CamelCaseExample"
  assert convertToCamelCase(["a", "b", "c"])== "ABC"
  assert convertToCamelCase(["", "", ""])== " "
  assert convertToCamelCase([])== ""
output: def convertToCamelCase(strings):
      if not strings:
          return ""
      result = ""
      for i, s in enumerate(strings):
          if s:
              if i == 0:
                  result += s.capitalize()
              else:
                  result += s.capitalize()
          else:
              result += " "
      return result