Moved groups/types.py to groups/__init__.py
C++: Moved `isSubgroup` from dev/ops.hpp to Groups/BasicGroup.hpp
Subgroup.hpp: Added a check for subgroup validity to the constructor and added
a private constructor that bypasses this check