Updated script to python3

All instances of print str have been changed to print(str). All instances of raw_input(prompt) have been changed to input(prompt). All other code has remained unchanged.