Added more comments and debouncing code.

Oddly, after last time, it seems that my code is not yet perfectly working.
Looks like bouncing. Added some debouncing code but still not flawless.
Added code from the book that's supposed to exhibit bouncing.

But no! It does not exhibit bouncing and, in fact, works perfectly well.