Adding a TeamsForYear function to support fetching all games for a year.