Extracts the right - most set bit ( safe column index ) where queen can be placed for this row
int p = safe & ( - safe ) ; int col = ( int ) ( Math . log ( p ) / Math . log ( 2 ) ) ; board [ row ] [ col ] = ' Q ' ;