Add isValid() and isLegal() to Square
Merge pull request #30 from fluxroot/develop

Add isValid() and isLegal() to Square