input: Write a function to convert a list of strings to camelCase and return a new list with the converted strings. The function should take a list of strings as input and return a string where each word starts with an uppercase letter, concatenated together without spaces.
  assert convertToCamelCase(["this", "is", "an", "example"])=="ThisIsAnExample"
  assert convertToCamelCase(["camel", "case", "function"])=="CamelCaseFunction"
  assert convertToCamelCase(["hello", "world"])=="HelloWorld"
  assert convertToCamelCase(["only", "one", "word"])=="OnlyOneWord"
  assert convertToCamelCase([])==""
output: def convertToCamelCase(strings):
      if not strings:
          return ""
      return ''.join([word.capitalize() for word in strings])