Basic PHP minesweeper