A 2D implementation of Moving Particle Semi-Implicit