problem 1 done
call implemented
problem 2 done
problem 3 done
Problem 3 done
3 shorter version
corrected macros