Update alg3.h

Final update of Monday, April 21