fancy nQueen solution using bit manipulation
a O(2^n) solution, use a fancier O(1) way to calculate last 1