Finished the function in the Team class that gets all of the events a team has participated in