python3.3 compatibility

I've just simple replaced the print statements to functions, and it works in my python3.3.2 environment.