Complexity constraints:

// Add the square to the canvas add(square);