my lecture notes and programs for the algorithms class