print statement to print function. py3k doesn't have print statement.. and a little pep8 change