Bouncing Switch Problem

Commented Code