Simple implementation of a permutation function that take a 2D slice and returns a 3D array with all possible permutations. Written in Go.