Updated print statements to add python3 support as per issue #1