my codes of learning DesignPattern, hope you can benifit from them.