Update alg1.h

Documentation / Commenting