Monte Carlo study of a superlattice with alternate layers