Create countBits.cpp