Adds writing out the size function
Merge branch 'master' of https://github.com/tdeekens/tda452-code
Updates function comments