a simple implementation of the classic Dots and Boxes game