added proper python2 and python3 header comments