Added an implementation of the classic PolicyIteration algorithm.