Update bing.py

Re-factored code to support Python 3