Simulating fluids using Navier Stokes equations based on Jos Stam's paper