Gapplet

Given a set of permutations generating a group G, a basis for G is output.

Give a sequence of generators for G, e.g., (1,2,3)(4,5,6), (2,3)(5,6), (1,4)(2,5)(3,6)(7,8) 
 
 
 
a basis for G