Solve NavierStokes equation in a square grid where dimension is an argument and the domain is the (0,1) in x and y.