everyone's tutorial is confusing
please use a push button and for the raspberry pi model b rev. 2
A search using google resulted in this.
https://embeddedcode.wordpress.com/2013/10/18/adding-a-shutdown-button-to-the-raspberry-pi/
Inderpreet Singh (one of our Top Members) has produced it.
You can easily change it around for the appropriate GPIO you want.
Mark