convert print statement to print function

Since there's not an explicit comment that the repo is incompatible with Py3k, I figured I should add some compatibility.