yeah, you need a resistor to keep the switch pulled down/up so that reading is stable: http://arduino.cc/it/Tutorial/Button