Updated class declaration for team object

Made Event into friend class and overloaded > and < operator for sorting.