Merge pull request #63 from YeoLab/dev

Dev
print --> sys.stdout.write and fix return for py3k compatibility
ran 2to3