Lattice-gas model of multiple layer adsorption