chore: making tutorials compatible with python2 and python3
Created by: alexandercbooth
Just a small tweak to make the tutorials work with Python 2 & 3.
@gcarleo - Thank you for creating this! You're work with Troyer in Science was one of the most fascinating/inspiring papers I have ever read. I am super excited to learn the codebase, apply it and contribute!