Python3.x compatibility.

Changed print statement to python3.x print function.