Fix print statemements for Python 3 support
Fix Queue import for python 3