Added possibility to enter rewards instead of a times reward and a reward cost
Added a test with a specific scenario, but first needed to change some functions
Fixed spec to use new fa
Fixed another spec to use new fa
playing around with the algorithm