Extracts the model types from a list of train model
extractModelTypes(list_of_models)
list_of_models
an object of class caretList