work in progress, value iteration in java. does not compile and lots of functions arent implemented... but i commented a decent amount?