updating to py3
fixing prints in example files