cs221: hw, math253y: notes