The analysis code for the Anomalous Dilepton Charge Asymmetry in B-meson decay (ADCAB) study