minimized the big iteration loop
printed the whole policy for new algorithm
memory leaks removed
all except mdp reviewed