Critical behavior of the two-dimensionalXYmodel: A Monte Carlo simulation | Synapse