checkType function

Compares the type of columns stored in dsList and in a data set itself.