Monte Carlo simulations of a disordered, three-dimensional system of Josephson junctions