Changed name from main to navier_stokes_solver, changed parameters and fixed errors. Added return statement for the main function