changed print calls to print() function

In python 3.0, print() is a function, so it should
be used instead of using the backwards compatible
print statement
Updated docstrings