Used  collectingAndThen to finish transformation of set to unmodifiableSet in ElectoralDistrict