input: Write a function to create a function in Python that takes a list of strings, converts it to camelCase, and returns a new list with the converted strings.
  def convertToCamelCase(list):
      camelCaseList = []
  
      for string in list:
          string = string.capitalize()
          camelCaseList.append(string)
  
      return ''.join(camelCaseList)
  
  assert convertToCamelCase(["this", "is", "an", "example"]) == "ThisIsAnExample"
  assert convertToCamelCase(["hello", "world"]) == "HelloWorld"
  assert convertToCamelCase(["camel", "case", "is", "great"]) == "CamelCaseIsGreat"
  assert convertToCamelCase([]) == ""
output: def convertToCamelCase(list):
      camelCaseList = []
      for i, string in enumerate(list):
          if i == 0:
              camelCaseList.append(string.lower())
          else:
              camelCaseList.append(string.capitalize())
      return ''.join(camelCaseList)