Use functional programming to create methods for filtering out specialized units. Return a list of units