add-squares exercise