added functionality to attrEqual function

compares names and types of attributes in given vectors for equality
attributes must be in the same order, have the same name, and same type
for attrEqual to return true, otherwise it returns false