Fix print syntax in examples & utils

The examples still use print statements, rather than print function syntax. This was fixed