alg week2