Pergunta de entrevista da empresa Jane Street

Implement the game state for a variant of connect-four with infinite width