Wrote more compact version of getImpactedBoroughs