Making print statements python-3 compatible