A new algorithm for approaching Nash equilibrium and Kalai Smoridinsky solution