Implementing Minesweeper in JavaScript for practice.