A library in python to perform group theory