Which list of ordered pairs represents a function?
A.(0,4), (1, 2), (1,3), (2, 4)
B.(0,4), (0, 2), (1,3), (2, 4)
C.(1,4), (2, 2), (4,3), (3, 4)
D.(2, 2), (0, 2), (1,3), (2, 4)