Added comments to code from Blatt6.