Pregunta de entrevista de Morgan Stanley

I had to write a chess player program.