Wrote scripts to test for square length and overlap