alg1 changes

The main change is moving the make_flower function of the subgroup class
into the initialiser of the class so the flower automaton will be
automatically created along with the class. Seems to be working
correctly.