Add lecture11 code