added compareLists

compare listA vs listB for allowed values