Thoughtworks interview question

Same old Poor MineSweeper :)