Calls GAP to check if a set of permutations of 1,...,n (in one line notation) generate the symmetric group Sn.
It assumes that GAP runs when you type gap in a terminal