added bonus functionality with comments
Merge branch 'master' of https://github.com/seanbapty/Lab4