Practice exercises of design patterns