High molecular weight, insoluble polymers which contain functional groups that are capable of undergoing exchange reactions (ion exchange) with either cations or anions