adding squares example