Square counting started
Trying to draw lines, not working yet
Some other changes, draw not working yet
Refactoring