check if two sets are equal using MAPC