Made print statement forward-compatible (python3)