Clojure program to calculate abstract groups and list some of their properties