updated working version

- no tie breaking feature
- but has comparison of optimal policy vs a random policy