add NqueenCounter by bit manipulation