Python 3 revision of Aligator code, including a bug fix for the microscopic reversibility code python3 aligator.py