Button checker (library)

http://playground.arduino.cc/Code/Buttons can anyone tell me how to use it(please give some examples of how to )

There is an example right there on the page you linked. What more do you need to know?

Why would you download a library at random?