Fix example print statements to work with Python 3