Led and button just not working.

button is the pin number 2 and it will never equal 0. Try digitalRead(button) instead.

Steve