Parallel implementation of 2D LGA and MD simulations