Code for data reduction and analysis of Galaxy Zoo 2