getBits and setBits working:
Changed name of main for Arduino IDE