Coding for Crowdsourced Classification with XOR Queries