Initial try of implementing Approximate QLearning algorithm.
Add some unit tests.