Implemented bitwise solution to count nqueens