Fix #1. Fix correct detection of complete and incomplete boxes on grid. Fix throwing of IllegalStateException when attempting to draw horizontal or vertical lines over lines that were previously drawn.