Add shapes.js with sample square functions