i'm just explaining the method here.
Considering two blocks row-wise and coloumn wise, u'll see that a pattern is formed as u move down the board, so detect the pattern of the two blocks that share a side, add them up and to find the probability, divide it by 64C2.
I hope its right. Plz tell me if you haven't understood.