Simulation code for the D0-brane matrix model