SPIN-SPIN INTERACTION AND SPIN SQUEEZING IN AN OPTICAL LATTICE