Python3 compatibility

A few things changed from Python2 to Python3. One of them is print becoming a function. With this patch, i am able to run pyrobot on python3 and it doesn't affect python2, hopefully fixing too the errors on #1 which are always around `print e`.