Which set of points represents a function?
A. (0, 2), (1, 2), (2, 4), (3, 5), (4, 5)
B. (1, 2), (2, 1), (2, 4), (3, 5), (4, 5)
C. (3, 4), (2, 1), (4, 2), (3, 5), (4, 5)
D. (5, 2), (3, 2), (4, 2), (5, 3), (4, 5)