added a few comments to ease understanding

Signed-off-by: sebastian <sarbos@rpi.edu>