Implemented "exponent" functions in all three languages
groups.py: Added methods for calculating cosets of a subset
C++: Added methods for calculating cosets of a subset in dev/ops.hpp