adding closure feature
Merge branch 'master' of https://github.com/grosalex/fifthassignment