my buggy minesweeper code from app academy