Run 2to3 tool to make code compatible to python3