Efficient searching through classes

Updated the checkASD() function to search through classes more
efficiently using the eval() method to look through each class’s
“compList” list.