<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_index(index_name, index_config, client):
 """Creates an index with a given configuration Args: index_name (str):
 Name of the index you want to create index_config (dict) configuration for the index client (Elasticsearch.IndicesClient) the Elasticsearch client """

    client.create(index=index_name, body=index_config)