Implemented methods for manipulating and retrieving groups linked with
subject which is owned by exact teacher