Thermodynamic Properties And The Virial Equation Of State For The Crust Of Neutron Stars