Minesweeper implemented using test driven development