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

{(-1,4),(1,4),(2,4),(-2,4)}
{(-2,1),(-1,3), (2,1),(-2,2)}
{(2,2),(3,3),(4,4),(2,1)}
{(-1,3),(-1,4),(-1,5),(-1,6)}