Python 3 modifications

Changed print statement to support Python 3