First pass at implementing fitted Q-iteration as a planner. Still need to debug and test it.