ScintSim1: A new Monte Carlo simulation code for transport of optical photons in 2D arrays of scintillation detectors