The lattice model of heat conduction in a composite material