Cleaned up some things, added code to fill in empty dots, and wrote code to partition a board.