Quantum Monte Carlo simulation of a two-dimensional Bose gas