Which of the following sets of ordered pairs is a function?

A. {(0,3), (0, 2), (0,3)}
B. {(1,0), (2,0), (3,0)}
C. {(-3,1), (-2,0), (-3, -2)}
D. {(-5, -4), (-5,-2), (-5,0)}