Online Consistency of the Nearest Neighbor Rule