Replaced all instances of print statement with print() function
This PR replaces all instances of the python 2.x print
statement, with the python 3.x print()
function, using the from __future__ import print_function
where required.
This should save time in the future when python-3.x is a requirement.