you can eliminate switch bouncing either by hardware: each switch needs to be connectec through flip-flops (search the net) or by software by defining a dead time each time you push a button (assuming that one cannot push a button twice in les than, say, 10msec or so)