working with bitwise

LOL Nick must be working up to the IOCCC.

I might have used Serial.println(c, BIN);

Actually I think it is a very good exercise, though! XD