Added an attempt counter to limit digits entered

After 4 digits have been pressed and the code does not match the passcode or halt code it will signal the wrong code. (I haven't made a tts mp3 to play for a failed entry though. :) )