added some inquiry functions to abstractMoleculeGroup
added some functions to class MoleculeGroup
implemented some functions in class MoleculeStack