Generalized policy iteration algorithm

Print it