Simulating two-dimensional turbulent flow by using the κ-ε model and the vorticity-streamfunction formulation