Pull Down Resistor

Just swap the +5V and Ground wires. The resistor then goes from the input pin to Ground and the switch goes from the input pin to +5v. When the switch is open the pin is LOW because of the resistor. When the switch closes the pin goes HIGH because it it connected to +5V.