complete exercises 1 and 2 of macros and code evaluation