first commit of a working decorator.js

I don't know. I am seeing the proper functionality as described in the assignment, but I feel like my closure isn't correct since I had to scope a global var for counting the iterations.