demonstrate macro in square.tj

compile macro in square.tj, demonstrate how to write correct macro with side effects