permutations

fun <T> List<T>.permutations(): Set<List<T>>