Added initial code and tests for Square object