Function to find the bitwise AND of the array after each query
function findbitwiseAND ( queries , arr , N , M ) { prefixCount = new Array ( 32 ) ; for ( var i = 0 ; i < prefixCount . length ; i ++ ) { prefixCount [ i ] = new Array ( 2 ) ; }