use bit operation to find N Queens solution numbers with row, left and right diagonal restriction