Update bingRewards.py

Re-factored code to support Python 3