improve the design of hecke triangle groups to be more consistent with the rest, doctests for hecke_triangle_groups.py