use bit operations to lightup bit counter diodes

I fiddled around with the bitcounter example and found an approach that is easily extensible for 3 or more bits, by checking for single bits in the current sum to lightup the according diode.