Design, Implementation and Optimization of a Parallel Monte Carlo Particle Transport Code