Implementation of basic functionality

Gets clicking on squares to work and sets up callbacks for when a sound is to be played and when the game is said to be won.