<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _add_games_to_schedule(self, schedule, game_type, year):
 """ Add games instances to schedule. Create a Game instance for every applicable game in the season and append the instance to the '_game' property. Parameters schedule : PyQuery object A PyQuery object pertaining to a team's schedule table. game_type : string A string constant denoting whether the game is being played as part of the regular season or the playoffs. year : string The requested year to pull stats from. """

        for item in schedule:
            game = Game(item, game_type, year)
            self._games.append(game)