python 3 compatible compare
Merge pull request #109 from MasseGuillaume/master

python 3 compatible compare