add square program