Perhaps the original poster's question was a theoretical exercise, but if you want a simple hardware debouncer, have you considered using a simple RC circuit like the one attached? Cheap, easy, and gets the job done so you can move on to more exciting things.