Let E be a metric space, S a subset of E, and let f:E-R be the function which takes the value 1 at each point of S and 0 at each point of the complement of S. Prove that the set of points of E at which f is not continuous is precisely the boundary of S.