Sorry I have been so frustrated with it after working on it for 6 hours lol. The issue I get for adding a group is:
Can't use string ("Test2") as a HASH ref while "strict refs" in use at ./example3 line 35, <> line 2.
The error I get for deleting a group that I made previously in an earlier class, I get:
Can't use string ("Test") as a HASH ref while "strict refs" in use at ./example3 line 44, <> line 2.