Simple Smoothed Particle Hydrodynamics implementation in D