cs221: some review notes