Added Group instance for Endomorphism.

The only potential issue with this that I can see is that groups isn't in Stackage. This is easily fixed.