Structural analysis of adsorbed chains using the Monte Carlo method