Some code documentation and tidy up for Squares
Added .travis.yml