print function replaced as implemented in Python 3.x