Quasi-statistical equilibrium code for a multicomponent neutron star crust