NQueensII ac, using bit shifting