code: def add_episode(db, aid, episode):
      
      values = {
          'aid': aid,
          'type': episode.type,
          'number': episode.number,
          'title': episode.title,
          'length': episode.length,
      }
      upsert(db, 'episode', ['aid', 'type', 'number'], values)
docs: Add an episode.