Adds package.json file.
Working isInBoundry check for square.