print statements replaced by function calls

replaced print statements in various demos with print function calls for
python 3 compatibility