2D Navier-Stokes solver using a vorticity-velocity formulation and an Immersed Boundary Method