Implemented Value Iteration, but still not working properly.
Fixed a bug regarding expected rewards after game ends.