Im adding a picture of how i did the wiring made in Fritzing. The IC is the multiplexer. Here is how it should be http://www.labbookpages.co.uk/electronics/files/debounce/debounceCircuit.png
The resistor connected to + is 47k and the resistor under the diode is 10k
