int contaA = 0; // first push button pin
The switches and leds are wired correctly, i'm an electronic.
An electronic what? Letter opener? Stapler?You may be an expert in some aspect of electronics, but, if you were, I think you'd KNOW that the schematic is what matters. So, where the f**k is yours?
To let you know, there is no need to use a protoboard and schematic always, it's just for noobs.
I recon he didn't have pullup or down resistors...