Extract a matrix of binary values (white and black shaded squares) from crossword image