Bitwise Implementation for Solving N-Queens