Design pattern assignment