Dots and Boxes (also known as Boxes, Squares, or, simply, the Dot Game) written in Java