Added current working code where users has an array of pointers to the groups that the user is in and the groups have arrays of pointers to the users in the group