perm package supercedes probability.go
API tweak
a little rename
s/bool/struct{}/ in map
fix AllIndex to return 0-based results