Monte Carlo simulation of cuprate oxides