Monte Carlo Evaluation of the Partition Function for a Hard-Disk System