reward is now a function, hashQmap implemented

* Reward has now his own function in qrobot.
* QTable implemented as a hashmap.