Gapplet
Compute the product of two permutations g, h.
g = [4,3,1,5,2] means that g permutes {1,2,3,4,5} according to