printed the whole policy for new algorithm