Print as function for python 3 compatibility